package com.example.service.impl;

import com.example.entity.po.Information;
import com.example.mapper.InformationMapper;
import com.example.service.InformationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class InformationServiceImpl implements InformationService {

    @Autowired
    private InformationMapper informationMapper;

    @Override
    public List<Information> queryInformation() {
        return informationMapper.queryInformation();
    }

    @Override
    public int updateInformation(Information information) {
        return informationMapper.updateInformation(information);
    }
}
